/*
 * @Author: chenjianxin
 * @Date: 2020-07-13 16:23:42
 * @LastEditTime: 2021-03-18 10:19:11
 * @LastEditors: ganxiaochuan
 * @Description: 描述
 * @FilePath: \ui-standard\vue.config.js
 */
const webpack = require('webpack')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const CompressionPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = /\.(js|css|json|ttf)(\?.*)?$/i

let base_vueConfig = {
	productionSourceMap: false,
	pluginOptions: {
		i18n: {
			locale: 'zh',
			fallbackLocale: 'en',
			localeDir: 'locales',
			enableInSFC: true,
		},
	},
	transpileDependencies: [
		/_axios@[0-9]*.[0-9]*.[0-9]@axios/,
		'axios',
		/_nodejs-base64@[0-9]*.[0-9]*.[0-9]@nodejs-base64/,
		'one-sport',
		'nodejs-base64',
		/_cache-loader@[0-9]*.[0-9]*.[0-9]@cache-loader/,
		'cache-loader',
		/_vue-loader@[0-9]*.[0-9]*.[0-9]@vue-loader/,
		'vue-loader',
		/_one-sport@[0-9]*.[0-9]*.[0-9]*@one-sport/,
		/_one-sport-api@[0-9]*.[0-9]*.[0-9]*@one-sport/,
	],
}
module.exports = base_vueConfig
